/**
 * 
 */
package za.co.sindi.oauth.core.service.director;

import za.co.sindi.oauth.core.context.HttpRequestContext;
import za.co.sindi.oauth.core.context.RequestContext;


/**
 * @author Buhake Sindi
 * @since 10 April 2012
 *
 */
public class HttpServiceDirector extends AbstractServiceDirector {

	/* (non-Javadoc)
	 * @see com.neurologic.oauth.core.service.director.AbstractServiceDirector#getPathInfo(com.neurologic.oauth.core.context.RequestContext)
	 */
	@Override
	protected String getPathInfo(RequestContext request) {
		// TODO Auto-generated method stub
		return ((HttpRequestContext)request).getPathInfo();
	}

	/* (non-Javadoc)
	 * @see com.neurologic.oauth.core.service.director.AbstractServiceDirector#getRequestMethod(com.neurologic.oauth.core.context.RequestContext)
	 */
	@Override
	protected String getRequestMethod(RequestContext request) {
		// TODO Auto-generated method stub
		return ((HttpRequestContext)request).getMethod();
	}
}
